package com.asia5b.a5mall.middleware.model.bean

import com.asia5b.a5bmall.resource.ResString
import com.asia5b.a5mall.middleware.R
import com.asia5b.a5mall.middleware.model.base.BaseModel

/**
 * Created by zhangyuncai on 2020/3/10.
 */
data class OrderPayBean(var payName: String = "",
                        var payId: Int = 1) : BaseModel(), SelectText {
    companion object {
        fun getOrderPayBeans(): ArrayList<OrderPayBean> {
            return arrayListOf(OrderPayBean(ResString.get(R.string.极速发货), 1), OrderPayBean(ResString.get(R.string.二次付款), 2))
        }
    }

    override fun getText(): String {
        return payName
    }
}